﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyworth.CRM.Service.Entity
{
    /// <summary>
    /// Modules:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Modules
    {
        public Modules()
        { }
        #region Model
        private int _moduleid;
        private int _parentmoduleid;
        private string _modulename;
        private string _moduleurl;
        private string _moduledescription;
        private bool _isdisplay = true;
        private int? _sno;
        /// <summary>
        /// 模块ID
        /// </summary>
        public int ModuleId
        {
            set { _moduleid = value; }
            get { return _moduleid; }
        }
        /// <summary>
        /// 模块类型
        /// </summary>
        public int ParentModuleId
        {
            set { _parentmoduleid = value; }
            get { return _parentmoduleid; }
        }
        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName
        {
            set { _modulename = value; }
            get { return _modulename; }
        }
        /// <summary>
        /// 模块地址
        /// </summary>
        public string ModuleURL
        {
            set { _moduleurl = value; }
            get { return _moduleurl; }
        }
        /// <summary>
        /// 说明
        /// </summary>
        public string ModuleDescription
        {
            set { _moduledescription = value; }
            get { return _moduledescription; }
        }
        /// <summary>
        /// 1:显示；0不显示
        /// </summary>
        public bool IsDisplay
        {
            set { _isdisplay = value; }
            get { return _isdisplay; }
        }

        /// <summary>
        /// 
        /// </summary>
        public int? Sno
        {
            set { _sno = value; }
            get { return _sno; }
        }
        #endregion Model

    }
}
